//
//  PushOfSelect.m
//  HYHoney
//
//  Created by dllo on 16/2/24.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "PushOfSelect.h"
#import "ModelOfImg.h"
#import "RESideMenu.h"
#import "NetworkingHandle.h"
#import "DKNightVersion.h"
@interface PushOfSelect ()<UIWebViewDelegate>

@property (nonatomic, retain)NSMutableArray *arr;
@property (nonatomic, retain)UITableView *tableView;
@property (nonatomic, retain)UIWebView *web;
@property (nonatomic, retain)ModelOfImg *model;
//@property (nonatomic, retain)UIWebView *webView;

@end

@implementation PushOfSelect

- (void)dealloc{

    [_url release];
    [_arr release];
    [_tableView release];
    [_web release];
    [super dealloc];
}



- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.dk_backgroundColorPicker = DKColorWithRGB(0xFFFAFA, 0x27408B);
    self.web.dk_backgroundColorPicker = DKColorWithRGB(0xFFFAFA, 0x27408B);
    
    CGRect frame = self.view.frame;
    self.web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(frame), CGRectGetHeight(frame))];
    self.web.userInteractionEnabled = YES;
    self.web.delegate = self;
    self.web.opaque = NO;
    
    
    [self.view addSubview:self.web];
    
    
    NSLog(@"------- %@", self.url);
    
    [self.web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
